package com.falcon.modules.domain.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.util.Date;


@TableName("s_sys_user")
@Data
public class User extends SuperEntity<User> {
    @TableId
    private Long id;
    private String name;
    private String account;
    private String pwd;
    private String email;
    private String description;
    @TableField("create_time")
    private Date createTime;
    @TableField(value="update_time", update = "now()")
    private Date updateTime;
    private Integer state;
    @TableField("role_ids")
    private String roleIds;
}
